comm Verified for current stable LTS

Comm Command: Print Only Common Lines Using Stdin For One File

Use for Print only common lines using stdin for one file with Comm. Exact CLI syntax to Print only common lines using stdin for one file using Comm.

When to use this: Use for Print only common lines using stdin for one file with Comm.

Command Syntax

cat <file1> | comm -12 - <file2>

Command Breakdown

-12
Command Option
Tool-specific option used by this command invocation.
-
Command Option
Tool-specific option used by this command invocation.

FAQ

Purpose: Exact syntax to Print only common lines using stdin for one file using Comm.

Test path: Replace placeholders and run destructive commands in a disposable workspace first.

Flag behavior: Tool version, platform, and shell can change behavior.

Improve This Command

Suggest a correction, safer default, or version-specific note for this entry.

Related Operations

Back to Comm directory